package com.baymax.test.scene

import com.baymax.test.scene.replace.SimpleReplacer
import org.junit.Test

class SimpleReplacerTest {


    @Test
    fun testInit() {
        val r = SimpleReplacer("images.center.bcs.ottcn.com,192.168.48.89|", '|', ',')
        assert(r.replace("images.center.bcs.ottcn.com") == "192.168.48.89")
    }
}